/* 复位 + 字体 + 响应式基础 */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;font-size:16px;line-height:1.6;color:#333;background:#f8f9fa;overflow-x:hidden}
a{text-decoration:none;color:inherit}
a:hover{text-decoration:underline}
img{max-width:100%}

/* 布局框架 */
.container{max-width:1200px;margin:0 auto;padding:0 1rem}
header{position:fixed;top:0;left:0;right:0;background:linear-gradient(135deg,#1a2a3a 0%,#0d1b2a 100%);color:#fff;z-index:1000;box-shadow:0 2px 10px rgba(0,0,0,0.1)}
.header-content{display:flex;align-items:center;justify-content:space-between;padding:.8rem 0}
.logo h1{font-size:1.6rem;font-weight:700;background:linear-gradient(90deg,#3498db,#2ecc71);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
nav ul{display:flex;gap:1.5rem;list-style:none}
nav a{position:relative;transition:.3s}
nav a::after{content:'';position:absolute;left:0;bottom:-4px;width:0;height:2px;background:#3498db;transition:.3s}
nav a:hover{color:#3498db;text-decoration:none}
nav a:hover::after{width:100%}
.mobile-menu-toggle{display:none;font-size:1.8rem;background:0 0;border:0;color:#fff;cursor:pointer}

main{min-height:100vh;padding-top:0} /* 修改为0，避免与固定定位的header重叠 */
footer{background:#0d1b2a;color:#fff;text-align:center;padding:2rem 0;margin-top:3rem}
.footer-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem;text-align:left;margin-bottom:1rem}
.footer-content h3{margin-bottom:1rem;color:#3498db}
.footer-content ul{list-style:none}
.footer-content a{color:#bdc3c7;font-size:.9rem}
.footer-content a:hover{color:#3498db}

/* 通用按钮样式 */
.btn{display:inline-block;padding:1rem 2.5rem;background:linear-gradient(90deg,#3498db,#2ecc71);color:#fff;border-radius:50px;transition:all 0.3s ease;text-decoration:none;font-weight:bold;cursor:pointer;border:none;box-shadow:0 4px 15px rgba(0,0,0,0.2);font-size:1.1rem}
.btn:hover{opacity:.9;text-decoration:none;transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,0.3)}
.btn-small{display:inline-block;padding:.7rem 1.8rem;background:linear-gradient(90deg,#3498db,#2ecc71);color:#fff;border-radius:50px;font-size:1rem;text-decoration:none;font-weight:bold;transition:all 0.3s ease;box-shadow:0 4px 10px rgba(0,0,0,0.1)}
.btn-small:hover{opacity:.9;text-decoration:none;transform:translateY(-2px);box-shadow:0 6px 15px rgba(0,0,0,0.15)}

/* 产品卡片样式 */
.products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2.5rem}
.product-card{background:#fff;border-radius:15px;box-shadow:0 10px 30px rgba(0,0,0,.1);padding:1.8rem;text-align:center;transition:all 0.3s ease}
.product-card:hover{transform:translateY(-10px);box-shadow:0 15px 40px rgba(0,0,0,.15)}
.product-card img{width:100%;height:220px;object-fit:cover;border-radius:10px;margin-bottom:1.2rem}
.product-card h3{margin-bottom:.7rem;color:#0d1b2a;font-size:1.4rem}
.product-card p{margin-bottom:1.2rem;color:#555;line-height:1.7}
.product-card ul{text-align:left;font-size:.95rem;color:#555;margin-bottom:1.5rem;padding-left:1.2rem}

/* 英雄区域样式 */
.hero{background:linear-gradient(135deg,#1a2a3a 0%,#0d1b2a 100%);color:#fff;text-align:center;padding:6rem 0 5rem;border-radius:0 0 20px 20px}
.hero h1{font-size:clamp(2rem, 5vw, 3rem);margin-bottom:1.5rem;font-weight:700}
.hero p{font-size:clamp(1rem, 2.5vw, 1.25rem);margin-bottom:2.5rem;max-width:600px;margin-left:auto;margin-right:auto}

/* 标题样式 */
.section{padding:4rem 0}
.section-title{text-align:center;font-size:clamp(1.8rem, 4vw, 2.5rem);margin-bottom:3rem;color:#0d1b2a;position:relative}
.section-title::after{content:'';display:block;width:80px;height:4px;background:linear-gradient(90deg,#3498db,#2ecc71);margin:0.8rem auto;border-radius:2px}
.page-title{text-align:center;font-size:clamp(1.8rem, 4vw, 2.5rem);margin-bottom:3rem;color:#0d1b2a;position:relative}
.page-title::after{content:'';display:block;width:80px;height:4px;background:linear-gradient(90deg,#3498db,#2ecc71);margin:0.8rem auto;border-radius:2px}

/* 英雄区域样式 */
.hero{background:linear-gradient(135deg,#1a2a3a 0%,#0d1b2a 100%);color:#fff;text-align:center;padding:6rem 0 5rem;border-radius:0 0 20px 20px}
.hero h1{font-size:clamp(2rem, 5vw, 3rem);margin-bottom:1.5rem;font-weight:700}
.hero p{font-size:clamp(1rem, 2.5vw, 1.25rem);margin-bottom:2.5rem;max-width:600px;margin-left:auto;margin-right:auto}

/* 英雄区域样式 */
.hero{background:linear-gradient(135deg,#1a2a3a 0%,#0d1b2a 100%);color:#fff;text-align:center;padding:6rem 0 5rem;border-radius:0 0 20px 20px}
.hero h1{font-size:clamp(2rem, 5vw, 3rem);margin-bottom:1.5rem;font-weight:700}
.hero p{font-size:clamp(1rem, 2.5vw, 1.25rem);margin-bottom:2.5rem;max-width:600px;margin-left:auto;margin-right:auto}

/* 新闻列表样式 */
.news-list{background:#fff;border-radius:15px;box-shadow:0 10px 30px rgba(0,0,0,.1);padding:2rem;margin-bottom:2rem}
.news-item{padding:1.5rem 0;border-bottom:1px solid #eee}
.news-item:last-child{border-bottom:none}
.news-date{color:#3498db;font-size:.9rem;margin-bottom:.7rem;font-weight:bold}
.news-title{font-size:1.4rem;margin-bottom:.8rem;color:#0d1b2a}
.news-excerpt{color:#555;margin-bottom:1.2rem;line-height:1.7}
.read-more{color:#3498db;font-weight:bold;transition:all 0.3s ease}
.read-more:hover{color:#2980b9;text-decoration:none}

/* 联系方式样式 */
.contact-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin:2rem 0}
.contact-card{background:#fff;border-radius:12px;box-shadow:0 8px 20px rgba(0,0,0,.06);padding:1.5rem;text-align:center}
.contact-card h3{margin-bottom:1rem;color:#0d1b2a}
.contact-card p{margin-bottom:.5rem;color:#555}

/* 关于我们样式 */
.about-content{background:#fff;border-radius:12px;box-shadow:0 8px 20px rgba(0,0,0,.06);padding:2rem}
.about-content h2{margin-bottom:1rem;color:#0d1b2a}
.about-content p{margin-bottom:1rem;color:#555}

/* 服务内容样式 */
.service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2.5rem;margin:3rem 0}
.service-card{background:#fff;border-radius:15px;box-shadow:0 10px 30px rgba(0,0,0,.1);padding:2rem 1.8rem;text-align:center;transition:all 0.3s ease}
.service-card:hover{transform:translateY(-5px);box-shadow:0 15px 40px rgba(0,0,0,.15)}
.service-icon{font-size:3rem;margin-bottom:1.5rem}
.service-card h3{margin-bottom:1.2rem;color:#0d1b2a;font-size:1.4rem}
.service-card p{color:#555;margin-bottom:1.5rem;line-height:1.7}
.service-list{text-align:left;padding-left:1.2rem}
.service-list li{margin-bottom:0.8rem;color:#555;position:relative}
.service-list li::before{content:'✓';color:#2ecc71;font-weight:bold;position:absolute;left:-1.2rem}

/* 产品详情样式 */
.product-detail{background:#fff;border-radius:12px;box-shadow:0 8px 20px rgba(0,0,0,.06);padding:2rem}
.product-detail h2{margin-bottom:1rem;color:#0d1b2a}
.product-detail h3{margin:1rem 0;color:#0d1b2a}
.product-specs{background:#f8f9fa;padding:1.5rem;border-radius:8px;margin:1rem 0}
.product-specs ul{padding-left:1.5rem}
.product-specs li{margin-bottom:.5rem}

/* 通用样式类 */
.text-center{ text-align: center; }
.margin-top-1{ margin-top: 1rem; }
.margin-top-2{ margin-top: 2rem; }
.footer-copyright{ border-top:1px solid #34495e; padding-top:1rem; font-size:.9rem; color:#95a5a6; }
.form-group{ margin-bottom: 1.5rem; }
.form-label{ display: block; margin-bottom: 0.5rem; font-weight: bold; }
.form-input{ width: 100%; padding: 0.8rem; border: 1px solid #ddd; border-radius: 4px; }
.info-box{ background: #f8f9fa; padding: 1rem; border-radius: 8px; margin-top: 1rem; }
.filter-bar{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.filter-group{
  flex: 1;
  min-width: 200px;
}
.filter-group label{
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}
.filter-group select,
.filter-group input{
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
}
.filter-group button{
  padding: 0.6rem 1.2rem;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.filter-group button:hover{
  opacity: 0.9;
  transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .container { padding: 0 1.5rem; }
  .hero { padding: 7rem 0 5rem; }
  .section { padding: 3.5rem 0; }
}

@media (max-width: 992px) {
  .service-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .hero { padding: 6rem 0 4rem; }
  .section { padding: 3rem 0; }
}

@media(max-width:768px){
  nav ul{position:absolute;top:100%;left:0;right:0;background:#0d1b2a;flex-direction:column;padding:1rem;display:none}
  nav ul.active{display:flex}
  .mobile-menu-toggle{display:block}
  .hero h1{font-size:2rem}
  .hero p{font-size:1rem}
  .section{padding:2rem 0}
  .section-title{font-size:1.7rem}
  .products-grid{grid-template-columns:1fr}
  .service-grid{grid-template-columns:1fr}
  .contact-info{grid-template-columns:1fr}
  .footer-content{grid-template-columns:1fr}
  .btn{padding:0.8rem 2rem;font-size:1rem}
}

@media (max-width: 576px) {
  body { font-size: 15px; }
  .header-content { padding: 0.5rem 0; }
  .hero { padding: 5rem 0 3rem; }
  .hero h1 { font-size: 1.8rem; }
  .section { padding: 1.5rem 0; }
  .section-title { font-size: 1.5rem; }
  .btn { padding: 0.7rem 1.5rem; font-size: 0.9rem; }
  .btn-small { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
  .product-card { padding: 1.2rem; }
  .form-input { padding: 0.6rem; }
}